﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Magicodes.IE.Demo.IService
{
    public interface IImporterService
    {
        /// <summary>
        /// 学生表格导入
        /// </summary>
        /// <param name="file"></param>
        /// <returns></returns>
        Task<string> ImportStudentInfo(IFormFile file);

        Task<ActionResult> DownloadTemplate();
        /// <summary>
        /// 学生表与缴费表
        /// </summary>
        /// <param name="file"></param>
        /// <returns></returns>
        Task<string> ImportStudentAndPaymentLog(IFormFile file);
    }
}
